package tw.rescue.dao.impl.slim3;

import java.util.List;

public class QueryStateHolder<E> {

	private String  encodedCursor;
	private String  encodedFilters;
	private String  encodedSorts;
	private List<E> queryResult;

	public void setCursor(String encodedCursor) {
		this.encodedCursor = encodedCursor;
	}
	
	public String getCursor() {
		return encodedCursor;
	}
	
	public void setSorts(String encodedSorts) {
		this.encodedSorts = encodedSorts;
	}
	
	public String getSorts() {
		return encodedSorts;
	}
	
	public void setFilters(String encodedFilters) {
		this.encodedFilters = encodedFilters;
	}
	
	public String getFilters() {
		return encodedFilters;
	}

	public void setQueryResult(List<E> queryResult) {
		this.queryResult = queryResult;
	}

	public List<E> getQueryResult() {
		return queryResult;
	}
}
